#include "api.h"
u8 gTempBuf[PACKET_LEN]={0x02,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff};
void CC2500TestTask(void *para)
{
	CC2500_Init();	
	CC2500_SetRecvAddr(CRA_FIXED_00,0x01);
	//CC2500_SetRecvAddr(CRA_FIXED_00,0x02);
	//CC2500_SetRecvAddr(CRA_FIXED_00,0x03);
	while(1)
	{
		OSDelayTask(500);	
		//if(GDO2_IN())
		CC2500_SendPacket(gTempBuf, PACKET_LEN);			
	}		
}		


